<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<c:set var="contextPath" value="${pageContext.request.contextPath}" />

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
	<script type="text/javascript" src="${contextPath}/resources/js/renacempleo/red/demandante/redDemandante.js"></script>
	<script type="text/javascript" src="${contextPath}/resources/js/renacempleo/red/demandante/redObservaciones.js"></script>
	<script type="text/javascript" src="${contextPath}/resources/js/renacempleo/red/demandante/redDemandantesForms.js"></script>
	<script type="text/javascript" src="${contextPath}/resources/js/renacempleo/red/demandante/redActivicacionDemandante.js"></script>
	<script type="text/javascript" src="${contextPath}/resources/js/renacempleo/admin/rednacional/RedNacionalEmpleo.js"></script>
	
	<script type="text/javascript" src="${contextPath}/resources/js/ux/RowExpander.js"></script>
	<script type="text/javascript" src="${contextPath}/resources/js/ux/CheckboxGroup.js"></script>	
	
	<script type="text/javascript">
	Ext.Loader.setConfig({
	    enabled: true
	});
	Ext.Loader.setPath('Ext.ux', '../ux');
	
	Ext.require([
	    'Ext.grid.*',
	    'Ext.data.*',
	    'Ext.form.*',
	    'Ext.ux.RowExpander',
	    'Ext.layout.container.CheckboxGroup',
	    'Ext.selection.CheckboxModel'
	]);
   		Ext.onReady(function(){
   			
   			var config = {
  					data: <c:out value="${requestScope.data}" default="[]" escapeXml="false"/>,
  					ctgMunicipios: <c:out value="${requestScope.ctgMunicipios}" default="[]" escapeXml="false"/>,
  					ctgOficina: <c:out value="${requestScope.ctgOficina}" default="[]" escapeXml="false"/>,
  					sgdUsuario: <c:out value="${requestScope.sgdUsuario}" default="
  					[]" escapeXml="false"/>,
  					ctgDocumento: <c:out value="${requestScope.ctgDocumento}" default="[]" escapeXml="false"/>,
  					ctgDocumentoVigentes: <c:out value="${requestScope.ctgDocumentoVigentes}" default="[]" escapeXml="false"/>,
  					ctgGenero: <c:out value="${requestScope.ctgGenero}" default="[]" escapeXml="false"/>,
  					ctgEstadoCivil: <c:out value="${requestScope.ctgEstadoCivil}" default="[]" escapeXml="false"/>,
  					ctgTipoLicencia: <c:out value="${requestScope.ctgTipoLicencia}" default="[]" escapeXml="false"/>,
  					ctgTipoVehiculo: <c:out value="${requestScope.ctgTipoVehiculo}" default="[]" escapeXml="false"/>,
  					ctgEscolaridad: <c:out value="${requestScope.ctgEscolaridad}" default="[]" escapeXml="false"/>,
  					ctgEspecialidad: <c:out value="${requestScope.ctgEspecialidad}" default="[]" escapeXml="false"/>,
  					ctgIdioma: <c:out value="${requestScope.ctgIdioma}" default="[]" escapeXml="false"/>,
  					ctgNivelIdioma: <c:out value="${requestScope.ctgNivelIdioma}" default="[]" escapeXml="false"/>
  			};
   			Viewport.initWindow(RedDemandante.initConfig(config));
   		});
   	</script>
   	<style>
   		#gridDemandantes td {text-transform: uppercase !important;}
   		
   	</style>
</head>
	<body>
	</body>
</html>